package com.winshare.saleAssistant.domain.dto.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class MaterialRespDTO {


    @ApiModelProperty(value = "主键不可以为空")
    private Integer id;

    @ApiModelProperty(value = "物料分类/物料名称")
    private String name;

    @ApiModelProperty(value = "父物料分类id/父物料Id")
    private Integer parentId;

    @ApiModelProperty(value = "物料类型值：1,分类;2,文件")
    private Integer type;

    @ApiModelProperty(value = "文件url")
    private String fileUrl;

    public MaterialRespDTO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }
}
